/*
 * @Description: 默认配置项
 * @Version: 1.0
 * @Autor: yel
 * @Date: 2022-03-10 11:55:38
 * @LastEditors: sqm
 * @LastEditTime: 2022-06-02 14:59:05
 */
import { fitChartSize } from "@/utils/styleUtil.js";
import * as Echarts from "echarts";

export default {
    // props: {
    //     name: {
    //         type: String,
    //         required: true,
    //         default: '123',
    //     },
    // }
}
export const basicOption = {
    grid: {
        show: false,
        left: fitChartSize(5),
        top: fitChartSize(8),
        right: fitChartSize(3),
        bottom: fitChartSize(0),
        containLabel: true,
    },
    // title: {
    //   text: this.alldata.title_text,
    //   textStyle: {
    //     color: '#fff',
    //     fontSize: '14'
    //   },
    //   left: '-1',
    //   top: 'middle'
    // },
    tooltip: {
        trigger: "axis",
    },

    xAxis: {
        show: true,
        type: "category",
        position: "bottom",
    },
    yAxis: {
        name: '',
        show: true,
        type: "value",
        position: "left",
    },
    legend: {},

    series: [{}],
};
